GINO Graphics Suite - GINO v9.0  

JPEG File Interchange Format

Nomination Routines

  Nomination Routine Description of Device
A gJpeg() JPEG File Interchange Format
B gJpeg2(dpi) JPEG File Interchange Format

Device Characteristics

A B
Maximum Width (mm) 21229.29mm resolution dependent
Maximum Height (mm) 1159.47mm resolution dependent
Default Width (mm) 338mm resolution dependent
Default Height (mm) 254mm resolution dependent
Resolution 65536 x 32768 (960x720 default)
Colours / Pens 256
Colour Palette Direct
Broken Linestyles No
Drawing Modes No
Thick Lines No
Line Ends No
Arcs No
Symbols No
Fonts No
Character Sizes 4 Pseudo-hardware in multiples of 1.5mm square
Character Angles 0 or 90
Italic Characters No
Polygonal Filling No
Image Handling Full Colour and Output only
Clipping No
Window/Device Titling No


JPEG File Interchange Format

The GINO driver is based on the work of the Independent JPEG Group for the software to carry out the actual compression.

Nomination Routines

Two nominations routines are provided for the JPEG driver. The first has no argument and uses a default resolution of 72 dpi for the interpretation of pixels to drawing units. The second uses a single argument where this mapping may be altered by specifying the required dots-per-inch setting.

Drawing Limits

The default drawing limits of the metafile is 960 by 720 pixels, which relates to a drawing area of 338mm by 254 mm (at 72dpi). For mechanisms to change the default drawing limits, refer to this section under Image File Formats (see Metafile Drawing Limits).

Image Size

The resulting image size can be enquired using the GINO routine gEnqDrawingLimits() with these values being returned in current drawing units. The pixel resolution of the image can be enquired by calling gEnqPixelResolution().

Image Quality

The IPAPTY argument to the routine gSetDrawingLimits() is used to set the compression quality. Quality can range from 1 (worst) to 100 (best) with a default setting of 75.

Multiple Frames

The driver does not recognise multiple images within the application so only the first image will be stored. (i.e. up to the first call to gNewDrawing() after any drawing routines).

Intermediate Vector File

This driver uses an internal GINO vector to raster pre-processor to create the output for the device which contains a fixed sized memory area into which the image is rasterized.